home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4883 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1014 b 

  1. Path: news.dfn.de!si-nic!usenet
  2. From: Markus Becker <becker@zess.uni-siegen.de>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: New printf - like function, is it possible?
  5. Date: Thu, 01 Feb 1996 15:15:54 +0100
  6. Organization: ZESS, Uni-GH-Siegen
  7. Message-ID: <3110CB1A.41DF@zess.uni-siegen.de>
  8. References: <4eqb3a$2r5@pan.otol.fi>
  9. NNTP-Posting-Host: becker.zess.uni-siegen.de
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Timo Sakari wrote:
  16. > So I want to print almost anything with this function without having
  17. > to write many functions to different argument types/number of arguments.
  18. > This should be possible in C++ (is it?), but is it possible in C ?
  19.  
  20. Read in your compiler's documentation (or any c/C++ programming book)
  21. about "variable length argument lists"
  22.  
  23. --
  24. Markus Becker                http://www.zess.uni-siegen.de/private/becker/
  25. Zentrum fuer Sensorsysteme (ZESS)
  26. http://www.zess.uni-siegen.de/private/becker/win95
  27.